function [ H ] = Hw( x )
%HENTROPY Summary of this function goes here
   if (x>0 && x<1)
       H=x*log(x/(1-x));
   
   elseif x==1
       H=100000000;
   else
       H=0;
   end



